<template>
	<view>
		<u-tabbar v-model="current" :list="list" active-color="#2979ff" inactive-color="#b9b9b9"></u-tabbar>
	</view>
</template>

<script>
	export default {
			data() {
				return {
					list:[
						{
							pagepath:"pages/doctor_mainpage",
							iconPath: "home",
							selectedIconPath: "home-fill",
							text: '首页',
						},
						{
							pagepath:"pages/dispensing/doctor_dispensing",
							iconPath: "grid",
							selectedIconPath: "grid-fill",
							text: '配药',
						},
						{
							pagepath:"pages/dispensing/doctor_dispensing_detail_prescription",
							iconPath: "file-text",
							selectedIconPath: "file-text-fill",
							text: '处方',
						},
						{
							pagepath:"pages/mine/doctor_mypage",
							iconPath: "account",
							selectedIconPath: "account-fill",
							text: '我的',
						},
					],
					current: 0
				}
			},
			// onLoad(){
			// 	this.tabbar=[
			// 			{
			// 				pagepath:"pages/doctor_mainpage",
			// 				iconPath: "home",
			// 				selectedIconPath: "home-fill",
			// 				text: '首页',
			// 			},
			// 			{
			// 				pagepath:"pages/dispensing/doctor_dispensing",
			// 				iconPath: "grid",
			// 				selectedIconPath: "grid-fill",
			// 				text: '配药',
			// 			},
			// 			{
			// 				pagepath:"pages/dispensing/doctor_dispensing_detail_prescription",
			// 				iconPath: "file-text",
			// 				selectedIconPath: "file-text-fill",
			// 				text: '处方',
			// 			},
			// 			{
			// 				pagepath:"pages/mine/doctor_mypage",
			// 				iconPath: "account",
			// 				selectedIconPath: "account-fill",
			// 				text: '我的',
			// 			},
			// 		]
			// },
			methods:{
				
			}
	}
</script>

<style>
</style>
